package cn.dckeji.gameBox.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2018-08-13
 */
@TableName("game_information")
public class Information extends Model<Information> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Integer id;
    /**
     * 公司名称
     */
    private String name;
    /**
     * 描述
     */
    private String desc;
    /**
     * 类型 1：关注公众号 2：使用技巧 3：快速打开
     */
    private String type;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Information{" +
        ", id=" + id +
        ", name=" + name +
        ", desc=" + desc +
        ", type=" + type +
        "}";
    }
}
